﻿using System;
using UnityEngine;

// Token: 0x020002D7 RID: 727
public static class DebugHelper
{
	// Token: 0x060010ED RID: 4333 RVA: 0x0007D1E9 File Offset: 0x0007B3E9
	public static void StartCron()
	{
		DebugHelper.startTime = Time.realtimeSinceStartup;
	}

	// Token: 0x060010EE RID: 4334 RVA: 0x0007D1F8 File Offset: 0x0007B3F8
	public static void LogCron(string msg)
	{
		float num = (Time.realtimeSinceStartup - DebugHelper.startTime) * 1000f;
		Debug.Log(string.Concat(new object[]
		{
			msg,
			": ",
			num,
			" ms"
		}));
	}

	// Token: 0x060010EF RID: 4335 RVA: 0x0007D244 File Offset: 0x0007B444
	public static void LogAndRestart(string msg)
	{
		DebugHelper.LogCron(msg);
		DebugHelper.StartCron();
	}

	// Token: 0x0400162C RID: 5676
	private static float startTime;
}
